#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#pragma pack(1)
typedef struct
{
    uint16_t crc;        // 2
    float travel_target; // 4
    uint64_t write_cnt;  // 8
    uint32_t travel_cnt; // 4

} uRealTimeDef;
#pragma pack()

void main(void)
{
    printf("%d\n", sizeof(uRealTimeDef));
    // printf("%d\n", sizeof(uint16_t));
    // printf("%d\n", sizeof(uint64_t));
    // printf("%d\n", sizeof(float));
    // printf("%d\n", sizeof(uint32_t));
}
